import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'reset-css';
import SlideVerify from 'vue-monoplasty-slide-verify' // 拼图验证码;
import VueLazyload from 'vue-lazyload' // 懒加载
import LoadMore from 'load-more-zhao' // 瀑布流

Vue.use(SlideVerify)
Vue.use(VueLazyload)
Vue.use(LoadMore)

// or with options
const loadimage = require('@/assets/images/img_loading.gif')
// const errorimage = require('./assets/error.gif')

Vue.use(VueLazyload, {
  preLoad: 1.3,
  // error: errorimage,
  loading: loadimage,
  attempt: 1
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
